-- GENERATED SPELL FOR [Scavenge-bot 005-B6] --


function spell0_25792(pUnit, Event) --@Cutting Laser,n/a--
pUnit:FullCastSpellOnTarget(49945,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25792', 3000, 1)
end

function Sorts_25792(pUnit, Event)
local choix_sorts_25792 = math.random(0, 0)
if choix_sorts_25792 == 0 then
pUnit:RegisterEvent('spell0_25792', 1, 1)
end
end

function mob25792_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25792', math.random(1500, 3000), 1)
end

function mob25792_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25792_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25792_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25792, 1, 'mob25792_Action')
RegisterUnitEvent(25792, 2, 'mob25792_Leave')
RegisterUnitEvent(25792, 3, 'mob25792_Kill')
RegisterUnitEvent(25792, 4, 'mob25792_Die')
